const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  userId: state => state.user.userId,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  deptId: state => state.user.deptId,
  buttons: state => state.user.buttons,
  userName: state => state.user.userName,
  parentId: state => state.user.parentId,
  loginName:state => state.user.loginName, 
  design:state => state.formData.design,
}
export default getters
